/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package Adaptor;


import InterfaceClient.IChat;
import Packets.pkValue;
import StaticClass.ArrSocket;
import java.io.ObjectInputStream;
import java.io.ObjectOutputStream;
import java.net.Socket;

/**
 *
 * @author Oho
 */
public class A_Changle {
    
    //chuyen doi tu console len cua so chat
    public static void ConvertPackage (pkValue vl,IChat ic,String str)
    {
                   {
                      
                       ic.txtInput.append(str +vl.getObj()+"\n");
                        
                   }
//          System.out.println("Server: client chat qua la "+vl.getObj());   
    }
    
}
